<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>post和get请求</title>
</head>
<body>
<h1>注册</h1>
<!--form是表单的框架，action把数据提交到哪里，method是用哪种方式-->
<form action="001.html" method="post">
<!--input是样式 text是正常文本，password是密码，小圆点的格式，submit提交按钮，reset重新输入-->
    <p> user: <input type="text" name="username" placeholder="用户名"></p>
    <p> password:<input type="password" name="password" required></p>
    <p>
        <input type="submit" value="提交" >
        <input type="reset" value="刷新">
    </p>
</form>

</body>
</html>